package yyh.filltheform.bean;

public class EffectiveBean {
	private String inhosptial_id;
	private String flag;
	private String parameter;
	private String eterminationresult;
	private String beforeavalue;
	
	@Override
	public String toString() {
		return "EffectiveBean [inhosptial_id=" + inhosptial_id + ", parameter="
				+ parameter + ", eterminationresult=" + eterminationresult
				+ ", beforeavalue=" + beforeavalue + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((beforeavalue == null) ? 0 : beforeavalue.hashCode());
		result = prime
				* result
				+ ((eterminationresult == null) ? 0 : eterminationresult
						.hashCode());
		result = prime * result
				+ ((inhosptial_id == null) ? 0 : inhosptial_id.hashCode());
		result = prime * result
				+ ((parameter == null) ? 0 : parameter.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		EffectiveBean other = (EffectiveBean) obj;
		if (beforeavalue == null) {
			if (other.beforeavalue != null)
				return false;
		} else if (!beforeavalue.equals(other.beforeavalue))
			return false;
		if (eterminationresult == null) {
			if (other.eterminationresult != null)
				return false;
		} else if (!eterminationresult.equals(other.eterminationresult))
			return false;
		if (inhosptial_id == null) {
			if (other.inhosptial_id != null)
				return false;
		} else if (!inhosptial_id.equals(other.inhosptial_id))
			return false;
		if (parameter == null) {
			if (other.parameter != null)
				return false;
		} else if (!parameter.equals(other.parameter))
			return false;
		return true;
	}
	
	
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public String getInhosptial_id() {
		return inhosptial_id;
	}
	public void setInhosptial_id(String inhosptial_id) {
		this.inhosptial_id = inhosptial_id;
	}
	public String getParameter() {
		return parameter;
	}
	public void setParameter(String parameter) {
		this.parameter = parameter;
	}
	public String getEterminationresult() {
		return eterminationresult;
	}
	public void setEterminationresult(String eterminationresult) {
		this.eterminationresult = eterminationresult;
	}
	public String getBeforeavalue() {
		return beforeavalue;
	}
	public void setBeforeavalue(String beforeavalue) {
		this.beforeavalue = beforeavalue;
	}
	
	

}
